<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <meta name="referrer" content="no-referrer" />
    <title>Mixin</title>
    <script type="text/javascript" src="<%= BASE_URL %>wasm_exec.js"></script>
    <script type="text/javascript" src="<%= BASE_URL %>libsignal-protocol.js"></script>
    <script>
      const go = new Go()
      const wasmObject = fetch('libsignal.wasm')
        .then(response => response.arrayBuffer())
        .then(bytes => WebAssembly.instantiate(bytes, go.importObject))
        .then(result => {
          go.run(result.instance)
        })
    </script>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
